package com.lry.basic.design_mode.strategy.price;

public class Full100Promotion implements Promotion{

    @Override
    public double discount(double price) {
        if(price>100){
            return price*0.9;
        }
        return price;
    }
}

